<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>qgnomeplatform-qt6</Name>
        <Homepage>https://github.com/FedoraQt/QGnomePlatform</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        <Summary>QPlatformTheme for a better Qt6 application inclusion in GNOME</Summary>
        <Icon>qgnomeplatform-qt6</Icon>
        <Description>QPlatformTheme for a better Qt6 application inclusion in GNOME</Description>
        <Archive sha1sum="ee61cde7f6a8e1643d8deff1d2f7af56a348ba55" type="targz">https://github.com/FedoraQt/QGnomePlatform/archive/refs/tags/0.9.0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>cmake</Dependency>
            <Dependency>gtk3-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>pango-devel</Dependency>
            <Dependency>qt6-base-devel</Dependency>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>gdk-pixbuf-devel</Dependency>
            <Dependency>adwaita-qt6-devel</Dependency>
            <Dependency>adwaita-qt-devel</Dependency>
            <Dependency>qt6-wayland-devel</Dependency>
            <Dependency>qt5-wayland-devel</Dependency>
            <Dependency>gsettings-desktop-schemas-devel</Dependency>
        </BuildDependencies>
        <!--
        <Patches>
            <Patch>qgnomeplatform-qt6.patch</Patch>
            <Patch level="1">qgnomeplatform-qt6.patch</Patch>
        </Patches>
        -->
    </Source>

    <Package>
        <Name>qgnomeplatform-qt6</Name>
        <RuntimeDependencies>
            <Dependency>gtk3</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>qt6-base</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>adwaita-qt6</Dependency>
            <Dependency>qt6-wayland</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libqgnomeplatform6.so</Path>
            <Path fileType="library">/usr/lib/qt6</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>qgnomeplatform-qt5</Name>
        <RuntimeDependencies>
            <Dependency>gtk3</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>qt5-base</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>adwaita-qt</Dependency>
            <Dependency>qt5-wayland</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libqgnomeplatform.so</Path>
            <Path fileType="library">/usr/lib/qt5</Path>
        </Files>
    </Package>

    <History>
        <Update release="1">
            <Date>2022-10-09</Date>
            <Version>0.9.0</Version>
            <Comment>First release</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
